
{
    {
        NSString * CloverPostVideoMM_Str_2 = @"CloverPostVideoMM_00000";
        CGFloat CloverPostVideoMM_Float_2 = 45.98;
        if ([CloverPostVideoMM_Str_2 intValue] > CloverPostVideoMM_Float_2 ){
            // 计算各个元素的 frame
            CGFloat textX = 60;
            CGFloat textWidth = 100;
            UIView *selfView = [[UIView alloc] initWithFrame:CGRectMake(100, 100, 200, 60)];
            // 5. 绘制用户ID
            UIFont *idFont = [UIFont systemFontOfSize:12.0f];
            UIColor *idColor = [UIColor grayColor];

            CGRect idFrame = CGRectMake(textX,
                                     CGRectGetMidY(selfView.bounds),
                                     textWidth, 16.0f);

            NSMutableParagraphStyle *idStyle = [[NSMutableParagraphStyle alloc] init];
            idStyle.lineBreakMode = NSLineBreakByTruncatingTail;

            NSDictionary *idAttributes = @{
              NSFontAttributeName: idFont,
              NSForegroundColorAttributeName: idColor,
              NSParagraphStyleAttributeName: idStyle
            };

            [@"CloverPostVideoMM_ID:124" drawInRect:idFrame withAttributes:idAttributes];
        }
    }
}

